From: Karl Heuer Date: Tue, 20 Sep 1994 04:27:27 +0000 (+0000) Subject: (kbd_store_ptr): Declare storage class before qualifier. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90127 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c56fbd24449cc73394bce8e3b720f918f7ffa2c8;p=emacs.git (kbd_store_ptr): Declare storage class before qualifier. --- diff --git a/src/keyboard.c b/src/keyboard.c index 5eb05979717..1b9a4e9a960 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -357,10 +357,7 @@ static struct input_event *kbd_fetch_ptr; /* Pointer to next place to store character in kbd_buffer. This may be kbd_buffer + KBD_BUFFER_SIZE, meaning that the next character should go in kbd_buffer[0]. */ -#ifdef __STDC__ -volatile -#endif -static struct input_event *kbd_store_ptr; +static volatile struct input_event *kbd_store_ptr; /* The above pair of variables forms a "queue empty" flag. When we enqueue a non-hook event, we increment kbd_write_count. When we